package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.ContractExtAttDao;
import top.infopub.model.bpa.ContractExtAtt;
import top.infopub.mgr.bpa.service.ContractExtAttService;

@Service
public class ContractExtAttServiceImpl extends GenericServiceImpl<ContractExtAtt, String> implements
		ContractExtAttService {

	@Autowired
	private ContractExtAttDao contractExtAttDao;
	
	@Override
	public GenericDao<ContractExtAtt, String> getDao() {
		return contractExtAttDao;
	}

    @Override
    public List<ContractExtAtt> selectByAttsId(String proContractId) {
        return contractExtAttDao.selectByAttsId(proContractId);
    }

}